package com.nciae.po;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author YangChen
 * @since 2020-09-01
 */
public class File implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 文件名称
     */
    private String name;

    /**
     * 文件路径
     */
    private String url;

    /**
     * 文件性质：发卷，兑付，补充
     */
    private String nature;

    /**
     * 流程id
     */
    @TableField("volume_id")
    private String volume_id;

    /**
     * 上传此文件的用户
     */
    @TableField("user_id")
    private Long user_id;

    /**
     * 逻辑删除
     */
    @TableField("is_deleted")
    private String is_deleted;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
    public String getNature() {
        return nature;
    }

    public void setNature(String nature) {
        this.nature = nature;
    }
    public String getVolume_id() {
        return volume_id;
    }

    public void setVolume_id(String volume_id) {
        this.volume_id = volume_id;
    }
    public Long getUser_id() {
        return user_id;
    }

    public void setUser_id(Long user_id) {
        this.user_id = user_id;
    }
    public String getIs_deleted() {
        return is_deleted;
    }

    public void setIs_deleted(String is_deleted) {
        this.is_deleted = is_deleted;
    }

    @Override
    public String toString() {
        return "File{" +
            "id=" + id +
            ", name=" + name +
            ", url=" + url +
            ", nature=" + nature +
            ", volume_id=" + volume_id +
            ", user_id=" + user_id +
            ", is_deleted=" + is_deleted +
        "}";
    }
}
